package com.mutual.reins.interf.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author CodeGenerate
 * @since 2021-03-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("REINSENDORLIMIT")
public class ReinsEndorLimit implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 批单号

     */
    @TableField("ENDORNO")
    private String endorNo;

    /**
     * 投保单号
     */
    @TableField("PROPOSALNO")
    private String proposalNo;

    /**
     * 保单号
     */
    @TableField("POLICYNO")
    private String policyNo;

    /**
     * 序号
     */
    @TableField("SERIALNO")
    private Integer serialNo = 0 ;

    /**
     * 限额序号
     */
    @TableField("LIMITNO")
    private Long limitNo = 0L;

    /**
     * 赔偿限额/免赔额类别
     */
    @TableField("LIMITTYPE")
    private String limitType;

    /**
     * 限额/免赔级别"1：保单  2：标的子险
"

     */
    @TableField("LIMITGRADE")
    private String limitGrade;

    /**
     * 币别
     */
    @TableField("CURRENCY")
    private String currency;

    /**
     * 赔偿限额/免赔额
     */
    @TableField("LIMITFEE")
    private BigDecimal limitFee = new BigDecimal("0.00");

    /**
     * flag
     */
    @TableField("FLAG")
    private String flag;

    /**
     * 变化赔偿限额/免赔额
     */
    @TableField("CHGLIMITFEE")
    private BigDecimal chgLimitFee = new BigDecimal("0.00");


}
